#define _CRT_SECURE_NO_WARNINGS 1

#include "list.h"

using namespace yjt;
int main()
{
	list l1;
	l1.push_back(1);
	l1.push_back(12);
	l1.push_back(123);
	l1.push_back(1234);
	l1.push_back(12345);

	for (list::iterator it = l1.begin(); it != l1.end(); it++)
	{
		std::cout << *it << " ";
	}
	std::cout << std::endl;
	auto insertpos = l1.begin();
	l1.insert(insertpos,23434);
	for (list::iterator it = l1.begin(); it != l1.end(); it++)
	{
		std::cout << *it << " ";
	}




	return 0;
}